package com.virtual.pojo;

public class VirtualCurrencyMarketDTO {
    private TickerDTO ticker = new TickerDTO();
    private Long date;

    public TickerDTO getTicker() {
        return ticker;
    }

    public void setTicker(TickerDTO ticker) {
        this.ticker = ticker;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "VirtualCurrencyMarketDTO{" +
                "ticker=" + ticker +
                ", date=" + date +
                '}';
    }

    public class TickerDTO {
        private String vol;
        private String last;
        private String high;
        private String low;
        private String buy;
        private String sell;

        public String getVol() {
            return vol;
        }

        public void setVol(String vol) {
            this.vol = vol;
        }

        public String getLast() {
            return last;
        }

        public void setLast(String last) {
            this.last = last;
        }

        public String getHigh() {
            return high;
        }

        public void setHigh(String high) {
            this.high = high;
        }

        public String getLow() {
            return low;
        }

        public void setLow(String low) {
            this.low = low;
        }

        public String getBuy() {
            return buy;
        }

        public void setBuy(String buy) {
            this.buy = buy;
        }

        public String getSell() {
            return sell;
        }

        public void setSell(String sell) {
            this.sell = sell;
        }

        @Override
        public String toString() {
            return "MarketDTO{" +
                    "vol='" + vol + '\'' +
                    ", last='" + last + '\'' +
                    ", high='" + high + '\'' +
                    ", low='" + low + '\'' +
                    ", buy='" + buy + '\'' +
                    ", sell='" + sell + '\'' +
                    '}';
        }
    }
}
